package com.ioftv.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目包量统计Excel导入导出DTO
 */
@Data
public class ProjectPackageExcelDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 统计日期
     */
    @ExcelProperty(value = "统计日期(格式:2025-01-15)", index = 0)
    @DateTimeFormat("yyyy-MM-dd")
    private String statDate;

    /**
     * 总包量
     */
    @ExcelProperty(value = "总包量", index = 1)
    private Integer totalPackageNum;

    /**
     * 完成包量
     */
    @ExcelProperty(value = "完成包量", index = 2)
    private Integer completedPackageNum;

    /**
     * 未完成包量
     */
    @ExcelProperty(value = "未完成包量", index = 3)
    private Integer uncompletedPackageNum;

    /**
     * 质检通过包量
     */
    @ExcelProperty(value = "质检通过包量", index = 4)
    private Integer qcPassPackageNum;
}